
const express = require('express');

let app = express();

// 使用userRouter.js中的路由对象来注册成为一个全局的访问对象
const userRouter = require('./userRouter');
app.use('/admin/user', userRouter);

const cateRouter = require('./cateRouter');
app.use('/admin/category', cateRouter);


app.listen(8006)